package com.diandian.backend.client.param;

import com.diandian.base.boot.starter.exception.DefaultException;

import java.io.Serializable;

public class ClientClientPermissionDeleteParam implements Serializable {

	private String clientId;
	private Long permissionId;
	private String remark;

	public void check(){
		if(this.clientId == null || "".equals(this.clientId)){
			throw new DefaultException("客户端id不能为空");
		}
		if(this.permissionId == null || "".equals(this.permissionId)){
			throw new DefaultException("权限id不能为空");
		}
	}

	public String getClientId() {
		return clientId;
	}
	public String setClientId(String clientId) {
		return this.clientId = clientId;
	}
	public Long getPermissionId() {
		return permissionId;
	}
	public Long setPermissionId(Long permissionId) {
		return this.permissionId = permissionId;
	}
	public String getRemark() {
		return remark;
	}
	public String setRemark(String remark) {
		return this.remark = remark;
	}
}
